package com.ekingstar.framework.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * AbstractUser entity provides the base persistence definition of the User entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUser  implements java.io.Serializable {


    // Fields    

     private String id;
     private String userInfoId;
     public String getUserInfoId() {
		return userInfoId;
	}

	public void setUserInfoId(String userInfoId) {
		this.userInfoId = userInfoId;
	}

	private Integer pwdErrorCount;
	private Date pwdErrorDate;
	 public Integer getPwdErrorCount() {
		return pwdErrorCount;
	}

	public void setPwdErrorCount(Integer pwdErrorCount) {
		this.pwdErrorCount = pwdErrorCount;
	}

	public Date getPwdErrorDate() {
		return pwdErrorDate;
	}

	public void setPwdErrorDate(Date pwdErrorDate) {
		this.pwdErrorDate = pwdErrorDate;
	}
	
	
	private Boolean locked;
	private Boolean exipred;
	private Boolean enabled;
	private Boolean passwordexipred;
	private Date lastlogoutTime;
	private String loginIp;
	private Date lastloginTime;
	 public Boolean getLocked() {
		return locked;
	}

	public void setLocked(Boolean locked) {
		this.locked = locked;
	}

	public Boolean getExipred() {
		return exipred;
	}

	public void setExipred(Boolean exipred) {
		this.exipred = exipred;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Boolean getPasswordexipred() {
		return passwordexipred;
	}

	public void setPasswordexipred(Boolean passwordexipred) {
		this.passwordexipred = passwordexipred;
	}

	public Date getLastlogoutTime() {
		return lastlogoutTime;
	}

	public void setLastlogoutTime(Date lastlogoutTime) {
		this.lastlogoutTime = lastlogoutTime;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Date getLastloginTime() {
		return lastloginTime;
	}

	public void setLastloginTime(Date lastloginTime) {
		this.lastloginTime = lastloginTime;
	}

	private String name;
     private String pwd;
	 private String email;
     private Date lastUpdateDate;
     private String updaterId;
     private Date addDate;
     private String adderId;
     private String deleterId;
     private Date deleteDate;
     private Integer loginTimes;
     private String userType;
     public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}


	private Set TUserRoles = new HashSet(0);
     
    // Constructors

    /** default constructor */
    public AbstractUser() {
    }

	/** minimal constructor */
    public AbstractUser(String id) {
        this.id = id;
    }
    
   
   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return this.pwd;
    }
    
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

	public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    

    public Date getLastUpdateDate() {
        return this.lastUpdateDate;
    }
    
    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getUpdaterId() {
        return this.updaterId;
    }
    
    public void setUpdaterId(String updaterId) {
        this.updaterId = updaterId;
    }

    public Date getAddDate() {
        return this.addDate;
    }
    
    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public String getAdderId() {
        return this.adderId;
    }
    
    public void setAdderId(String adderId) {
        this.adderId = adderId;
    }

    public String getDeleterId() {
        return this.deleterId;
    }
    
    public void setDeleterId(String deleterId) {
        this.deleterId = deleterId;
    }

    public Date getDeleteDate() {
        return this.deleteDate;
    }
    
    public void setDeleteDate(Date deleteDate) {
        this.deleteDate = deleteDate;
    }

    public Set getTUserRoles() {
        return this.TUserRoles;
    }
    
    public void setTUserRoles(Set TUserRoles) {
        this.TUserRoles = TUserRoles;
    }
   
   

	public Integer getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}

	

	

	
}